

# for i in range(100, 1000):
#     a = str(i)[0]
#     b = str(i)[1]
#     c = str(i)[2]
#     if i == pow(eval(a), 3)+pow(eval(b), 3)+pow(eval(c), 3):
#         if i == 407:
#             print(i)
#             break
#         print(i, end=",")


k = 10000
while k > 1:
    print(k)
    k = k/2
